package com.block.risk.service.impl;

import com.block.db.entity.RiskBaseInfo;
import com.block.db.mapper.RiskBaseInfoMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.block.risk.service.IRiskBaseInfoService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 风控基本信息 服务实现类
 * </p>
 *
 * @author 
 * @since 2023-05-11
 */
@Service
public class RiskBaseInfoServiceImpl extends ServiceImpl<RiskBaseInfoMapper, RiskBaseInfo> implements IRiskBaseInfoService {

    @Override
    public RiskBaseInfo getEntityByDataIdAndType(String dataId, String dataType) {
        return this.baseMapper.getEntityByDataIdAndType(dataId, dataType);
    }
}
